package cmd

import (
	"github.com/apulis/sdk/go-utils/logging"
	"github.com/spf13/cobra"
	"os"
)

var rootCmd = &cobra.Command{
	Use:   "file",
	Short: "Apulis file server",
	Run: func(cmd *cobra.Command, args []string) {
	},
}

// Execute the current command
func Execute() {
	if err := rootCmd.Execute(); err != nil {
		logging.Error(err).Msg("start file server occurs error")
		os.Exit(1)
	}
}
